package research_team.client.generated.business;

import java.util.*;
import research_team.client.notgenerated.eventFramework.PropertyChangeSupport;

/**
* TODO javadoc
*/
public class Paper   {

	private String title;
	private String url4pdf;
	private String state;
	private Collection<Publication> publications;
	private Collection<Person> author;
	private CallForPaper submittedTo;
	private PropertyChangeSupport<String> propertychangesupporttitle;
	private PropertyChangeSupport<String> propertychangesupporturl4pdf;
	private PropertyChangeSupport<String> propertychangesupportstate;
	public void setPropertychangesupporttitle(PropertyChangeSupport<String> propertychangesupporttitle) {
		this.propertychangesupporttitle = propertychangesupporttitle;
	}
	public void setPropertychangesupporturl4pdf(PropertyChangeSupport<String> propertychangesupporturl4pdf) {
		this.propertychangesupporturl4pdf = propertychangesupporturl4pdf;
	}
	public void setPropertychangesupportstate(PropertyChangeSupport<String> propertychangesupportstate) {
		this.propertychangesupportstate = propertychangesupportstate;
	}
 
	public String get_title() {
		return title;
	}

	public void set_title(String title) {
		if(propertychangesupporttitle!=null) {
			propertychangesupporttitle.firePropertyChange(this.title, title);
		}
		System.err.println(title);
		
		this.title = title;
	}

	public String get_url4pdf() {
		return url4pdf;
	}

	public void set_url4pdf(String url4pdf) {
		if(propertychangesupporturl4pdf!=null) {
			propertychangesupporturl4pdf.firePropertyChange(this.url4pdf, url4pdf);
		}
		System.err.println(url4pdf);
		
		this.url4pdf = url4pdf;
	}

	public String get_state() {
		return state;
	}

	public void set_state(String state) {
		if(propertychangesupportstate!=null) {
			propertychangesupportstate.firePropertyChange(this.state, state);
		}
		System.err.println(state);
		
		this.state = state;
	}


}